home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: Essential Home & Business / PC-SIG - Essential Home and Business Collection.iso / 22 / 1 / 7 / DISK2217.ZIP / HARDDISK.BAT < prev    next >
DOS Batch File  |  1990-05-26  |  1KB  |  44 lines

  1. @echo off
  2. REM This batch file installs Fractal Grafics to a hard disk.
  3. REM Type A:INSTALL for instructions.
  4. REM
  5. if exist STARTUP.PCX goto start
  6. echo You have not yet specified your graphics adapter.
  7. echo For instructions, type INSTALL and press Enter.
  8. goto end
  9. :start
  10. set fgdir=C:\FRACTAL
  11. if not "%1"=="" set fgdir=%1
  12. echo Now installing Fractal Grafics to the %fgdir% directory...
  13. mkdir %fgdir%
  14. if exist FG.EXE goto findjul
  15. echo Unable to locate the Fractal Grafics program.
  16. goto checkmsg
  17. :findjul
  18. if exist JULIMAN.EXE goto findhelp
  19. echo Unable to locate the Juliman program.
  20. goto checkmsg
  21. :findhelp
  22. if not exist HELP1.FRT goto missing
  23. goto copyit
  24. :missing
  25. echo Unable to locate the on-line help files.
  26. :checkmsg
  27. echo Check to make sure you have the correct disk.
  28. echo (Fractal Grafics has NOT been installed.)
  29. goto end
  30. :copyit
  31. xcopy FG.EXE %fgdir% /v
  32. xcopy JULIMAN.EXE %fgdir% /v
  33. xcopy *.FRT %fgdir% /v
  34. xcopy *.PCX %fgdir% /v
  35. xcopy order.txt %fgdir% /v
  36. xcopy manual.txt %fgdir% /v
  37. mkdir %fgdir%\HELP
  38. xcopy %fgdir%\HELP*.FRT %fgdir%\HELP /v
  39. del %fgdir%\HELP*.FRT
  40. type INSTALL3.TXT
  41. :end
  42.  
  43. 
  44.